class Configuration < ActiveRecord::Base
  set_table_name :eshop_preference_groups

  validates :name, :presentation, :presence => true, :length => {:maximum => 20}
  validates :name, :uniqueness => true, :format => {:with => Format::STRING_REGEX}
end
